<template>
	<view class="container">
		<u-parse :html="content"></u-parse>
	</view>
</template>
<script>
	import service from '@/store/service.js';
	export default {
		data() {
			return {
				content:''
			};
		},
		methods:{
			getAgencySetting(){
				this.$http.post(service.api.profile.getConfig).then(res=>{
					console.log(res,'setting');
					if(res.code===1){
						this.content = res.data.content
					}
				})
			},
		},
		onLoad() {
			this.getAgencySetting()
		}
	}
</script>

<style lang="less" scoped>
	.container{
		padding: 20rpx;
	}
</style>
